package com.linzm.behavioraltype.state08.state;

import com.linzm.behavioraltype.state08.Context;

/**
 * @Author zimingl
 * @Date 2023/4/16 13:27
 * @Description: StartState
 */
public class StartState implements State {
    public void doAction(Context context) {
        System.out.println("Player is in start state");
        context.setState(this);
    }

    public String toString() {
        return "Start State";
    }
}
